3.1.69 \(\int \frac {x^4 (d+e x^2+f x^4)}{(a+b x^2+c x^4)^2} \, dx\) [69]

Optimal. Leaf size=436 \[ \frac {f x}{c^2}+\frac {x \left (a \left (2 c^2 d-b c e+b^2 f-2 a c f\right )-\left (b^2 c e-2 a c^2 e-b^3 f-b c (c d-3 a f)\right ) x^2\right )}{2 c^2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {\left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)-\frac {b^3 c e-8 a b c^2 e-3 b^4 f+4 a c^2 (c d-5 a f)+b^2 c (c d+19 a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} c^{5/2} \left (b^2-4 a c\right ) \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)+\frac {b^3 c e-8 a b c^2 e-3 b^4 f+4 a c^2 (c d-5 a f)+b^2 c (c d+19 a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} c^{5/2} \left (b^2-4 a c\right ) \sqrt {b+\sqrt {b^2-4 a c}}} \]

[Out]

f*x/c^2+1/2*x*(a*(-2*a*c*f+b^2*f-b*c*e+2*c^2*d)-(b^2*c*e-2*a*c^2*e-b^3*f-b*c*(-3*a*f+c*d))*x^2)/c^2/(-4*a*c+b^
2)/(c*x^4+b*x^2+a)+1/4*arctan(x*2^(1/2)*c^(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2))*(b^2*c*e-6*a*c^2*e-3*b^3*f+b*c*(
13*a*f+c*d)+(-b^3*c*e+8*a*b*c^2*e+3*b^4*f-4*a*c^2*(-5*a*f+c*d)-b^2*c*(19*a*f+c*d))/(-4*a*c+b^2)^(1/2))/c^(5/2)
/(-4*a*c+b^2)*2^(1/2)/(b-(-4*a*c+b^2)^(1/2))^(1/2)+1/4*arctan(x*2^(1/2)*c^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2))*
(b^2*c*e-6*a*c^2*e-3*b^3*f+b*c*(13*a*f+c*d)+(b^3*c*e-8*a*b*c^2*e-3*b^4*f+4*a*c^2*(-5*a*f+c*d)+b^2*c*(19*a*f+c*
d))/(-4*a*c+b^2)^(1/2))/c^(5/2)/(-4*a*c+b^2)*2^(1/2)/(b+(-4*a*c+b^2)^(1/2))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 3.60, antiderivative size = 436, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {1682, 1690, 1180, 211} \begin {gather*} \frac {\text {ArcTan}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right ) \left (-\frac {b^2 c (19 a f+c d)-8 a b c^2 e+4 a c^2 (c d-5 a f)-3 b^4 f+b^3 c e}{\sqrt {b^2-4 a c}}+b c (13 a f+c d)-6 a c^2 e-3 b^3 f+b^2 c e\right )}{2 \sqrt {2} c^{5/2} \left (b^2-4 a c\right ) \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\text {ArcTan}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right ) \left (\frac {b^2 c (19 a f+c d)-8 a b c^2 e+4 a c^2 (c d-5 a f)-3 b^4 f+b^3 c e}{\sqrt {b^2-4 a c}}+b c (13 a f+c d)-6 a c^2 e-3 b^3 f+b^2 c e\right )}{2 \sqrt {2} c^{5/2} \left (b^2-4 a c\right ) \sqrt {\sqrt {b^2-4 a c}+b}}+\frac {x \left (a \left (-2 a c f+b^2 f-b c e+2 c^2 d\right )-x^2 \left (-b c (c d-3 a f)-2 a c^2 e+b^3 (-f)+b^2 c e\right )\right )}{2 c^2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {f x}{c^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(x^4*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4)^2,x]

[Out]

(f*x)/c^2 + (x*(a*(2*c^2*d - b*c*e + b^2*f - 2*a*c*f) - (b^2*c*e - 2*a*c^2*e - b^3*f - b*c*(c*d - 3*a*f))*x^2)
)/(2*c^2*(b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) + ((b^2*c*e - 6*a*c^2*e - 3*b^3*f + b*c*(c*d + 13*a*f) - (b^3*c*e
- 8*a*b*c^2*e - 3*b^4*f + 4*a*c^2*(c*d - 5*a*f) + b^2*c*(c*d + 19*a*f))/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqr
t[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*c^(5/2)*(b^2 - 4*a*c)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) + ((b^2*c*
e - 6*a*c^2*e - 3*b^3*f + b*c*(c*d + 13*a*f) + (b^3*c*e - 8*a*b*c^2*e - 3*b^4*f + 4*a*c^2*(c*d - 5*a*f) + b^2*
c*(c*d + 19*a*f))/Sqrt[b^2 - 4*a*c])*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(2*Sqrt[2]*c^(5/
2)*(b^2 - 4*a*c)*Sqrt[b + Sqrt[b^2 - 4*a*c]])

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 1180

Int[((d_) + (e_.)*(x_)^2)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Di
st[e/2 + (2*c*d - b*e)/(2*q), Int[1/(b/2 - q/2 + c*x^2), x], x] + Dist[e/2 - (2*c*d - b*e)/(2*q), Int[1/(b/2 +
 q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[b^
2 - 4*a*c]

Rule 1682

Int[(Pq_)*(x_)^(m_)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_), x_Symbol] :> With[{d = Coeff[PolynomialRemainde
r[x^m*Pq, a + b*x^2 + c*x^4, x], x, 0], e = Coeff[PolynomialRemainder[x^m*Pq, a + b*x^2 + c*x^4, x], x, 2]}, S
imp[x*(a + b*x^2 + c*x^4)^(p + 1)*((a*b*e - d*(b^2 - 2*a*c) - c*(b*d - 2*a*e)*x^2)/(2*a*(p + 1)*(b^2 - 4*a*c))
), x] + Dist[1/(2*a*(p + 1)*(b^2 - 4*a*c)), Int[(a + b*x^2 + c*x^4)^(p + 1)*ExpandToSum[2*a*(p + 1)*(b^2 - 4*a
*c)*PolynomialQuotient[x^m*Pq, a + b*x^2 + c*x^4, x] + b^2*d*(2*p + 3) - 2*a*c*d*(4*p + 5) - a*b*e + c*(4*p +
7)*(b*d - 2*a*e)*x^2, x], x], x]] /; FreeQ[{a, b, c}, x] && PolyQ[Pq, x^2] && GtQ[Expon[Pq, x^2], 1] && NeQ[b^
2 - 4*a*c, 0] && LtQ[p, -1] && IGtQ[m/2, 0]

Rule 1690

Int[(Pq_)/((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4), x_Symbol] :> Int[ExpandIntegrand[Pq/(a + b*x^2 + c*x^4), x], x
] /; FreeQ[{a, b, c}, x] && PolyQ[Pq, x^2] && Expon[Pq, x^2] > 1

Rubi steps

\begin {align*} \int \frac {x^4 \left (d+e x^2+f x^4\right )}{\left (a+b x^2+c x^4\right )^2} \, dx &=\frac {x \left (a \left (2 c^2 d-b c e+b^2 f-2 a c f\right )-\left (b^2 c e-2 a c^2 e-b^3 f-b c (c d-3 a f)\right ) x^2\right )}{2 c^2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac {\int \frac {\frac {a^2 \left (2 c^2 d+b^2 f-c (b e+2 a f)\right )}{c^2}-\frac {a \left (b^2 c e-6 a c^2 e-b^3 f+b c (c d+5 a f)\right ) x^2}{c^2}+2 a \left (4 a-\frac {b^2}{c}\right ) f x^4}{a+b x^2+c x^4} \, dx}{2 a \left (b^2-4 a c\right )}\\ &=\frac {x \left (a \left (2 c^2 d-b c e+b^2 f-2 a c f\right )-\left (b^2 c e-2 a c^2 e-b^3 f-b c (c d-3 a f)\right ) x^2\right )}{2 c^2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac {\int \left (-\frac {2 a \left (b^2-4 a c\right ) f}{c^2}+\frac {a^2 \left (2 c^2 d-b c e+3 b^2 f-10 a c f\right )-a \left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)\right ) x^2}{c^2 \left (a+b x^2+c x^4\right )}\right ) \, dx}{2 a \left (b^2-4 a c\right )}\\ &=\frac {f x}{c^2}+\frac {x \left (a \left (2 c^2 d-b c e+b^2 f-2 a c f\right )-\left (b^2 c e-2 a c^2 e-b^3 f-b c (c d-3 a f)\right ) x^2\right )}{2 c^2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac {\int \frac {a^2 \left (2 c^2 d-b c e+3 b^2 f-10 a c f\right )-a \left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)\right ) x^2}{a+b x^2+c x^4} \, dx}{2 a c^2 \left (b^2-4 a c\right )}\\ &=\frac {f x}{c^2}+\frac {x \left (a \left (2 c^2 d-b c e+b^2 f-2 a c f\right )-\left (b^2 c e-2 a c^2 e-b^3 f-b c (c d-3 a f)\right ) x^2\right )}{2 c^2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {\left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)-\frac {b^3 c e-8 a b c^2 e-3 b^4 f+4 a c^2 (c d-5 a f)+b^2 c (c d+19 a f)}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{4 c^2 \left (b^2-4 a c\right )}+\frac {\left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)+\frac {b^3 c e-8 a b c^2 e-3 b^4 f+4 a c^2 (c d-5 a f)+b^2 c (c d+19 a f)}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{4 c^2 \left (b^2-4 a c\right )}\\ &=\frac {f x}{c^2}+\frac {x \left (a \left (2 c^2 d-b c e+b^2 f-2 a c f\right )-\left (b^2 c e-2 a c^2 e-b^3 f-b c (c d-3 a f)\right ) x^2\right )}{2 c^2 \left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}+\frac {\left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)-\frac {b^3 c e-8 a b c^2 e-3 b^4 f+4 a c^2 (c d-5 a f)+b^2 c (c d+19 a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} c^{5/2} \left (b^2-4 a c\right ) \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\left (b^2 c e-6 a c^2 e-3 b^3 f+b c (c d+13 a f)+\frac {b^3 c e-8 a b c^2 e-3 b^4 f+4 a c^2 (c d-5 a f)+b^2 c (c d+19 a f)}{\sqrt {b^2-4 a c}}\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{2 \sqrt {2} c^{5/2} \left (b^2-4 a c\right ) \sqrt {b+\sqrt {b^2-4 a c}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.96, size = 511, normalized size = 1.17 \begin {gather*} \frac {4 \sqrt {c} f x+\frac {2 \sqrt {c} x \left (-2 a^2 c f+b \left (c^2 d-b c e+b^2 f\right ) x^2+a \left (b^2 f+2 c^2 \left (d+e x^2\right )-b c \left (e+3 f x^2\right )\right )\right )}{\left (b^2-4 a c\right ) \left (a+b x^2+c x^4\right )}-\frac {\sqrt {2} \left (-3 b^4 f+2 a c^2 \left (2 c d+3 \sqrt {b^2-4 a c} e-10 a f\right )+b^2 c \left (c d-\sqrt {b^2-4 a c} e+19 a f\right )+b^3 \left (c e+3 \sqrt {b^2-4 a c} f\right )-b c \left (c \sqrt {b^2-4 a c} d+8 a c e+13 a \sqrt {b^2-4 a c} f\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \left (3 b^4 f+2 a c^2 \left (-2 c d+3 \sqrt {b^2-4 a c} e+10 a f\right )-b^2 c \left (c d+\sqrt {b^2-4 a c} e+19 a f\right )+b^3 \left (-c e+3 \sqrt {b^2-4 a c} f\right )-b c \left (c \sqrt {b^2-4 a c} d-8 a c e+13 a \sqrt {b^2-4 a c} f\right )\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\left (b^2-4 a c\right )^{3/2} \sqrt {b+\sqrt {b^2-4 a c}}}}{4 c^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(x^4*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4)^2,x]

[Out]

(4*Sqrt[c]*f*x + (2*Sqrt[c]*x*(-2*a^2*c*f + b*(c^2*d - b*c*e + b^2*f)*x^2 + a*(b^2*f + 2*c^2*(d + e*x^2) - b*c
*(e + 3*f*x^2))))/((b^2 - 4*a*c)*(a + b*x^2 + c*x^4)) - (Sqrt[2]*(-3*b^4*f + 2*a*c^2*(2*c*d + 3*Sqrt[b^2 - 4*a
*c]*e - 10*a*f) + b^2*c*(c*d - Sqrt[b^2 - 4*a*c]*e + 19*a*f) + b^3*(c*e + 3*Sqrt[b^2 - 4*a*c]*f) - b*c*(c*Sqrt
[b^2 - 4*a*c]*d + 8*a*c*e + 13*a*Sqrt[b^2 - 4*a*c]*f))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]]
)/((b^2 - 4*a*c)^(3/2)*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - (Sqrt[2]*(3*b^4*f + 2*a*c^2*(-2*c*d + 3*Sqrt[b^2 - 4*a*c
]*e + 10*a*f) - b^2*c*(c*d + Sqrt[b^2 - 4*a*c]*e + 19*a*f) + b^3*(-(c*e) + 3*Sqrt[b^2 - 4*a*c]*f) - b*c*(c*Sqr
t[b^2 - 4*a*c]*d - 8*a*c*e + 13*a*Sqrt[b^2 - 4*a*c]*f))*ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]
])/((b^2 - 4*a*c)^(3/2)*Sqrt[b + Sqrt[b^2 - 4*a*c]]))/(4*c^(5/2))

________________________________________________________________________________________

Maple [A]
time = 0.07, size = 522, normalized size = 1.20

method result size
risch \(\frac {f x}{c^{2}}+\frac {\frac {\left (3 a b c f -2 a \,c^{2} e -b^{3} f +b^{2} c e -b \,c^{2} d \right ) x^{3}}{8 a c -2 b^{2}}+\frac {a \left (2 a c f -b^{2} f +b c e -2 c^{2} d \right ) x}{8 a c -2 b^{2}}}{c^{2} \left (c \,x^{4}+b \,x^{2}+a \right )}+\frac {\munderset {\textit {\_R} =\RootOf \left (c \,\textit {\_Z}^{4}+\textit {\_Z}^{2} b +a \right )}{\sum }\frac {\left (-\frac {\left (13 a b c f -6 a \,c^{2} e -3 b^{3} f +b^{2} c e +b \,c^{2} d \right ) \textit {\_R}^{2}}{4 a c -b^{2}}-\frac {a \left (10 a c f -3 b^{2} f +b c e -2 c^{2} d \right )}{4 a c -b^{2}}\right ) \ln \left (x -\textit {\_R} \right )}{2 c \,\textit {\_R}^{3}+\textit {\_R} b}}{4 c^{2}}\) \(242\)
default \(\frac {f x}{c^{2}}-\frac {\frac {-\frac {\left (3 a b c f -2 a \,c^{2} e -b^{3} f +b^{2} c e -b \,c^{2} d \right ) x^{3}}{2 \left (4 a c -b^{2}\right )}-\frac {a \left (2 a c f -b^{2} f +b c e -2 c^{2} d \right ) x}{2 \left (4 a c -b^{2}\right )}}{c \,x^{4}+b \,x^{2}+a}+\frac {2 c \left (-\frac {\left (13 \sqrt {-4 a c +b^{2}}\, a b c f -6 a \,c^{2} e \sqrt {-4 a c +b^{2}}-3 b^{3} f \sqrt {-4 a c +b^{2}}+b^{2} c e \sqrt {-4 a c +b^{2}}+b \,c^{2} d \sqrt {-4 a c +b^{2}}+20 a^{2} c^{2} f -19 a \,b^{2} c f +8 a b \,c^{2} e -4 c^{3} a d +3 b^{4} f -b^{3} c e -b^{2} c^{2} d \right ) \sqrt {2}\, \arctanh \left (\frac {c x \sqrt {2}}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{8 c \sqrt {-4 a c +b^{2}}\, \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}+\frac {\left (13 \sqrt {-4 a c +b^{2}}\, a b c f -6 a \,c^{2} e \sqrt {-4 a c +b^{2}}-3 b^{3} f \sqrt {-4 a c +b^{2}}+b^{2} c e \sqrt {-4 a c +b^{2}}+b \,c^{2} d \sqrt {-4 a c +b^{2}}-20 a^{2} c^{2} f +19 a \,b^{2} c f -8 a b \,c^{2} e +4 c^{3} a d -3 b^{4} f +b^{3} c e +b^{2} c^{2} d \right ) \sqrt {2}\, \arctan \left (\frac {c x \sqrt {2}}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{8 c \sqrt {-4 a c +b^{2}}\, \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{4 a c -b^{2}}}{c^{2}}\) \(522\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a)^2,x,method=_RETURNVERBOSE)

[Out]

f*x/c^2-1/c^2*((-1/2*(3*a*b*c*f-2*a*c^2*e-b^3*f+b^2*c*e-b*c^2*d)/(4*a*c-b^2)*x^3-1/2*a*(2*a*c*f-b^2*f+b*c*e-2*
c^2*d)/(4*a*c-b^2)*x)/(c*x^4+b*x^2+a)+2/(4*a*c-b^2)*c*(-1/8*(13*(-4*a*c+b^2)^(1/2)*a*b*c*f-6*a*c^2*e*(-4*a*c+b
^2)^(1/2)-3*b^3*f*(-4*a*c+b^2)^(1/2)+b^2*c*e*(-4*a*c+b^2)^(1/2)+b*c^2*d*(-4*a*c+b^2)^(1/2)+20*a^2*c^2*f-19*a*b
^2*c*f+8*a*b*c^2*e-4*c^3*a*d+3*b^4*f-b^3*c*e-b^2*c^2*d)/c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*
c)^(1/2)*arctanh(c*x*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2))+1/8*(13*(-4*a*c+b^2)^(1/2)*a*b*c*f-6*a*c^2*e*(
-4*a*c+b^2)^(1/2)-3*b^3*f*(-4*a*c+b^2)^(1/2)+b^2*c*e*(-4*a*c+b^2)^(1/2)+b*c^2*d*(-4*a*c+b^2)^(1/2)-20*a^2*c^2*
f+19*a*b^2*c*f-8*a*b*c^2*e+4*c^3*a*d-3*b^4*f+b^3*c*e+b^2*c^2*d)/c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((b+(-4*a*c+b^2)^
(1/2))*c)^(1/2)*arctan(c*x*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2))))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a)^2,x, algorithm="maxima")

[Out]

1/2*((b*c^2*d - b^2*c*e + 2*a*c^2*e + (b^3 - 3*a*b*c)*f)*x^3 + (2*a*c^2*d - a*b*c*e + (a*b^2 - 2*a^2*c)*f)*x)/
(a*b^2*c^2 - 4*a^2*c^3 + (b^2*c^3 - 4*a*c^4)*x^4 + (b^3*c^2 - 4*a*b*c^3)*x^2) + f*x/c^2 + 1/2*integrate(-(2*a*
c^2*d - a*b*c*e - (b*c^2*d + b^2*c*e - 6*a*c^2*e - (3*b^3 - 13*a*b*c)*f)*x^2 + (3*a*b^2 - 10*a^2*c)*f)/(c*x^4
+ b*x^2 + a), x)/(b^2*c^2 - 4*a*c^3)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 12597 vs. \(2 (394) = 788\).
time = 22.84, size = 12597, normalized size = 28.89 \begin {gather*} \text {too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a)^2,x, algorithm="fricas")

[Out]

1/4*(4*(b^2*c - 4*a*c^2)*f*x^5 + 2*(b*c^2*d - (b^2*c - 2*a*c^2)*e + (3*b^3 - 11*a*b*c)*f)*x^3 + sqrt(1/2)*(a*b
^2*c^2 - 4*a^2*c^3 + (b^2*c^3 - 4*a*c^4)*x^4 + (b^3*c^2 - 4*a*b*c^3)*x^2)*sqrt(-((b^3*c^4 + 12*a*b*c^5)*d^2 +
2*(b^4*c^3 - 6*a*b^2*c^4 - 24*a^2*c^5)*d*e + (b^5*c^2 - 15*a*b^3*c^3 + 60*a^2*b*c^4)*e^2 + (9*b^7 - 105*a*b^5*
c + 385*a^2*b^3*c^2 - 420*a^3*b*c^3)*f^2 - 2*((3*b^5*c^2 - 13*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5)*d*e^3 - (5*a*b^4*c^3 - 81*a^2*b^2*c^4 +
324*a^3*c^5)*e^4 - (189*a^2*b^6 - 1971*a^3*b^4*c + 5625*a^4*b^2*c^2 - 2500*a^5*c^3)*f^4 - ((81*b^8 - 945*a*b^6
*c + 3213*a^2*b^4*c^2 - 3000*a^3*b^2*c^3 + 2000*a^4*c^4)*d - (135*a*b^7 - 1323*a^2*b^5*c + 2727*a^3*b^3*c^2 +
2500*a^4*b*c^3)*e)*f^3 + 3*((27*b^6*c^2 - 117*a*b^4*c^3 - 150*a^2*b^2*c^4 + 200*a^3*c^5)*d^2 + (27*b^7*c - 405
*a*b^5*c^2 + 1461*a^2*b^3*c^3 - 500*a^3*b*c^4)*d*e - (45*a*b^6*c - 558*a^2*b^4*c^2 + 1672*a^3*b^2*c^3)*e^2)*f^
2 - ((27*b^4*c^4 + 80*a^2*c^6)*d^3 + 3*(18*b^5*c^3 - 123*a*b^3*c^4 - 100*a^2*b*c^5)*d^2*e + 3*(9*b^6*c^2 - 165
*a*b^4*c^3 + 692*a^2*b^2*c^4)*d*e^2 - (45*a*b^5*c^2 - 647*a^2*b^3*c^3 + 2268*a^3*b*c^4)*e^3)*f)*x + 1/2*sqrt(1
/2)*(2*(b^4*c^6 - 8*a*b^2*c^7 + 16*a^2*c^8)*d^3 + 3*(b^5*c^5 - 8*a*b^3*c^6 + 16*a^2*b*c^7)*d^2*e - 18*(a*b^4*c
^5 - 8*a^2*b^2*c^6 + 16*a^3*c^7)*d*e^2 - (b^7*c^3 - 17*a*b^5*c^4 + 88*a^2*b^3*c^5 - 144*a^3*b*c^6)*e^3 + (27*b
^10 - 459*a*b^8*c + 2961*a^2*b^6*c^2 - 8818*a^3*b^4*c^3 + 11360*a^4*b^2*c^4 - 4000*a^5*c^5)*f^3 - 3*(2*(12*a*b
^6*c^3 - 121*a^2*b^4*c^4 + 392*a^3*b^2*c^5 - 400*a^4*c^6)*d + (9*b^9*c - 153*a*b^7*c^2 + 947*a^2*b^5*c^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- 15*a^2*c^6)*d*e^2 + (3*b^5*c^3 - 49*a*b^3*c^4 + 198*a^2*b*c^5)*e^3)*f)/(b^6*c^10 - 12*a*b^4*c^11 + 48*
a^2*b^2*c^12 - 64*a^3*c^13)))/(b^6*c^5 - 12*a*b...

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4*(f*x**4+e*x**2+d)/(c*x**4+b*x**2+a)**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 7496 vs. \(2 (411) = 822\).
time = 7.06, size = 7496, normalized size = 17.19 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4*(f*x^4+e*x^2+d)/(c*x^4+b*x^2+a)^2,x, algorithm="giac")

[Out]

f*x/c^2 + 1/2*(b*c^2*d*x^3 + b^3*f*x^3 - 3*a*b*c*f*x^3 - b^2*c*x^3*e + 2*a*c^2*x^3*e + 2*a*c^2*d*x + a*b^2*f*x
 - 2*a^2*c*f*x - a*b*c*x*e)/((c*x^4 + b*x^2 + a)*(b^2*c^2 - 4*a*c^3)) + 1/16*((2*b^3*c^4 - 8*a*b*c^5 - sqrt(2)
*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*b^3*c^2 + 4*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 -
 4*a*c)*c)*a*b*c^3 + 2*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*b^2*c^3 - sqrt(2)*sqrt(b^2 -
4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*b*c^4 - 2*(b^2 - 4*a*c)*b*c^4)*(b^2*c^2 - 4*a*c^3)^2*d - (6*b^5*c^2 - 5
0*a*b^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)*sqrt(b*c - sqrt(b^2 - 4*a*c
)*c)*a^2*b^4*c^7 + 31*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a*b^5*c^7 - 320*sqrt(2)*sqrt(b
^2 - 4*a*c)*sqrt(b*c - sqrt(b^2 - 4*a*c)*c)*a^4...

________________________________________________________________________________________

Mupad [B]
time = 2.65, size = 2500, normalized size = 5.73 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((x^4*(d + e*x^2 + f*x^4))/(a + b*x^2 + c*x^4)^2,x)

[Out]

(f*x)/c^2 - atan(((((10240*a^5*c^7*f - 2048*a^4*c^8*d - 384*a^2*b^4*c^6*d + 1536*a^3*b^2*c^7*d + 192*a^2*b^5*c
^5*e - 768*a^3*b^3*c^6*e - 736*a^2*b^6*c^4*f + 4224*a^3*b^4*c^5*f - 10752*a^4*b^2*c^6*f + 32*a*b^6*c^5*d - 16*
a*b^7*c^4*e + 1024*a^4*b*c^7*e + 48*a*b^8*c^3*f)/(8*(64*a^3*c^6 - b^6*c^3 + 12*a*b^4*c^4 - 48*a^2*b^2*c^5)) -
(x*((768*a^4*b*c^8*d^2 - b^9*c^4*d^2 - c^4*d^2*(-(4*a*c - b^2)^9)^(1/2) - b^11*c^2*e^2 - 9*b^4*f^2*(-(4*a*c -
b^2)^9)^(1/2) - 9*b^13*f^2 + 27*a*b^9*c^3*e^2 + 3840*a^5*b*c^7*e^2 + 9*a*c^3*e^2*(-(4*a*c - b^2)^9)^(1/2) - 26
880*a^6*b*c^6*f^2 + 6*b^12*c*e*f + 96*a^2*b^5*c^6*d^2 - 512*a^3*b^3*c^7*d^2 - 288*a^2*b^7*c^4*e^2 + 1504*a^3*b
^5*c^5*e^2 - 3840*a^4*b^3*c^6*e^2 - 2077*a^2*b^9*c^2*f^2 + 10656*a^3*b^7*c^3*f^2 - 30240*a^4*b^5*c^4*f^2 + 448
00*a^5*b^3*c^5*f^2 - 25*a^2*c^2*f^2*(-(4*a*c - b^2)^9)^(1/2) - b^2*c^2*e^2*(-(4*a*c - b^2)^9)^(1/2) + 213*a*b^
11*c*f^2 - 3072*a^5*c^8*d*e - 2*b^10*c^3*d*e + 15360*a^6*c^7*e*f + 6*b^11*c^2*d*f + 36*a*b^8*c^4*d*e - 98*a*b^
9*c^3*d*f + 1536*a^5*b*c^7*d*f + 10*a*c^3*d*f*(-(4*a*c - b^2)^9)^(1/2) - 2*b*c^3*d*e*(-(4*a*c - b^2)^9)^(1/2)
- 152*a*b^10*c^2*e*f + 6*b^3*c*e*f*(-(4*a*c - b^2)^9)^(1/2) + 51*a*b^2*c*f^2*(-(4*a*c - b^2)^9)^(1/2) - 192*a^
2*b^6*c^5*d*e + 128*a^3*b^4*c^6*d*e + 1536*a^4*b^2*c^7*d*e + 576*a^2*b^7*c^4*d*f - 1344*a^3*b^5*c^5*d*f + 512*
a^4*b^3*c^6*d*f + 1548*a^2*b^8*c^3*e*f - 8064*a^3*b^6*c^4*e*f + 22400*a^4*b^4*c^5*e*f - 30720*a^5*b^2*c^6*e*f
+ 6*b^2*c^2*d*f*(-(4*a*c - b^2)^9)^(1/2) - 44*a*b*c^2*e*f*(-(4*a*c - b^2)^9)^(1/2))/(32*(4096*a^6*c^11 + b^12*
c^5 - 24*a*b^10*c^6 + 240*a^2*b^8*c^7 - 1280*a^3*b^6*c^8 + 3840*a^4*b^4*c^9 - 6144*a^5*b^2*c^10)))^(1/2)*(16*b
^7*c^5 - 192*a*b^5*c^6 - 1024*a^3*b*c^8 + 768*a^2*b^3*c^7))/(2*(16*a^2*c^5 + b^4*c^3 - 8*a*b^2*c^4)))*((768*a^
4*b*c^8*d^2 - b^9*c^4*d^2 - c^4*d^2*(-(4*a*c - b^2)^9)^(1/2) - b^11*c^2*e^2 - 9*b^4*f^2*(-(4*a*c - b^2)^9)^(1/
2) - 9*b^13*f^2 + 27*a*b^9*c^3*e^2 + 3840*a^5*b*c^7*e^2 + 9*a*c^3*e^2*(-(4*a*c - b^2)^9)^(1/2) - 26880*a^6*b*c
^6*f^2 + 6*b^12*c*e*f + 96*a^2*b^5*c^6*d^2 - 512*a^3*b^3*c^7*d^2 - 288*a^2*b^7*c^4*e^2 + 1504*a^3*b^5*c^5*e^2
- 3840*a^4*b^3*c^6*e^2 - 2077*a^2*b^9*c^2*f^2 + 10656*a^3*b^7*c^3*f^2 - 30240*a^4*b^5*c^4*f^2 + 44800*a^5*b^3*
c^5*f^2 - 25*a^2*c^2*f^2*(-(4*a*c - b^2)^9)^(1/2) - b^2*c^2*e^2*(-(4*a*c - b^2)^9)^(1/2) + 213*a*b^11*c*f^2 -
3072*a^5*c^8*d*e - 2*b^10*c^3*d*e + 15360*a^6*c^7*e*f + 6*b^11*c^2*d*f + 36*a*b^8*c^4*d*e - 98*a*b^9*c^3*d*f +
 1536*a^5*b*c^7*d*f + 10*a*c^3*d*f*(-(4*a*c - b^2)^9)^(1/2) - 2*b*c^3*d*e*(-(4*a*c - b^2)^9)^(1/2) - 152*a*b^1
0*c^2*e*f + 6*b^3*c*e*f*(-(4*a*c - b^2)^9)^(1/2) + 51*a*b^2*c*f^2*(-(4*a*c - b^2)^9)^(1/2) - 192*a^2*b^6*c^5*d
*e + 128*a^3*b^4*c^6*d*e + 1536*a^4*b^2*c^7*d*e + 576*a^2*b^7*c^4*d*f - 1344*a^3*b^5*c^5*d*f + 512*a^4*b^3*c^6
*d*f + 1548*a^2*b^8*c^3*e*f - 8064*a^3*b^6*c^4*e*f + 22400*a^4*b^4*c^5*e*f - 30720*a^5*b^2*c^6*e*f + 6*b^2*c^2
*d*f*(-(4*a*c - b^2)^9)^(1/2) - 44*a*b*c^2*e*f*(-(4*a*c - b^2)^9)^(1/2))/(32*(4096*a^6*c^11 + b^12*c^5 - 24*a*
b^10*c^6 + 240*a^2*b^8*c^7 - 1280*a^3*b^6*c^8 + 3840*a^4*b^4*c^9 - 6144*a^5*b^2*c^10)))^(1/2) - (x*(9*b^8*f^2
+ 8*a^2*c^6*d^2 - 72*a^3*c^5*e^2 + b^4*c^4*d^2 + 200*a^4*c^4*f^2 + b^6*c^2*e^2 + 2*a*b^2*c^5*d^2 - 16*a*b^4*c^
3*e^2 - 6*b^7*c*e*f + 74*a^2*b^2*c^4*e^2 + 481*a^2*b^4*c^2*f^2 - 718*a^3*b^2*c^3*f^2 - 114*a*b^6*c*f^2 - 80*a^
3*c^5*d*f + 2*b^5*c^3*d*e - 6*b^6*c^2*d*f - 14*a*b^3*c^4*d*e - 8*a^2*b*c^5*d*e + 32*a*b^4*c^3*d*f + 86*a*b^5*c
^2*e*f + 472*a^3*b*c^4*e*f + 4*a^2*b^2*c^4*d*f - 374*a^2*b^3*c^3*e*f))/(2*(16*a^2*c^5 + b^4*c^3 - 8*a*b^2*c^4)
))*((768*a^4*b*c^8*d^2 - b^9*c^4*d^2 - c^4*d^2*(-(4*a*c - b^2)^9)^(1/2) - b^11*c^2*e^2 - 9*b^4*f^2*(-(4*a*c -
b^2)^9)^(1/2) - 9*b^13*f^2 + 27*a*b^9*c^3*e^2 + 3840*a^5*b*c^7*e^2 + 9*a*c^3*e^2*(-(4*a*c - b^2)^9)^(1/2) - 26
880*a^6*b*c^6*f^2 + 6*b^12*c*e*f + 96*a^2*b^5*c^6*d^2 - 512*a^3*b^3*c^7*d^2 - 288*a^2*b^7*c^4*e^2 + 1504*a^3*b
^5*c^5*e^2 - 3840*a^4*b^3*c^6*e^2 - 2077*a^2*b^9*c^2*f^2 + 10656*a^3*b^7*c^3*f^2 - 30240*a^4*b^5*c^4*f^2 + 448
00*a^5*b^3*c^5*f^2 - 25*a^2*c^2*f^2*(-(4*a*c - b^2)^9)^(1/2) - b^2*c^2*e^2*(-(4*a*c - b^2)^9)^(1/2) + 213*a*b^
11*c*f^2 - 3072*a^5*c^8*d*e - 2*b^10*c^3*d*e + 15360*a^6*c^7*e*f + 6*b^11*c^2*d*f + 36*a*b^8*c^4*d*e - 98*a*b^
9*c^3*d*f + 1536*a^5*b*c^7*d*f + 10*a*c^3*d*f*(-(4*a*c - b^2)^9)^(1/2) - 2*b*c^3*d*e*(-(4*a*c - b^2)^9)^(1/2)
- 152*a*b^10*c^2*e*f + 6*b^3*c*e*f*(-(4*a*c - b^2)^9)^(1/2) + 51*a*b^2*c*f^2*(-(4*a*c - b^2)^9)^(1/2) - 192*a^
2*b^6*c^5*d*e + 128*a^3*b^4*c^6*d*e + 1536*a^4*b^2*c^7*d*e + 576*a^2*b^7*c^4*d*f - 1344*a^3*b^5*c^5*d*f + 512*
a^4*b^3*c^6*d*f + 1548*a^2*b^8*c^3*e*f - 8064*a^3*b^6*c^4*e*f + 22400*a^4*b^4*c^5*e*f - 30720*a^5*b^2*c^6*e*f
+ 6*b^2*c^2*d*f*(-(4*a*c - b^2)^9)^(1/2) - 44*a*b*c^2*e*f*(-(4*a*c - b^2)^9)^(1/2))/(32*(4096*a^6*c^11 + b^12*
c^5 - 24*a*b^10*c^6 + 240*a^2*b^8*c^7 - 1280*a^3*b^6*c^8 + 3840*a^4*b^4*c^9 - 6144*a^5*b^2*c^10)))^(1/2)*1i -
(((10240*a^5*c^7*f - 2048*a^4*c^8*d - 384*a^2*b^4*c^6*d + 1536*a^3*b^2*c^7*d + 192*a^2*b^5*c^5*e - 768*a^3*b^3
*c^6*e - 736*a^2*b^6*c^4*f + 4224*a^3*b^4*c^5*f...

________________________________________________________________________________________